﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="LatestCategory.aspx.cs" Inherits="ProductPCBAging_ManagePCBAging_LatestCategory" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
    <br />最近三天做老化的批次：
    <br />
<br />
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" BackColor="White" BorderColor="White" 
        BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" 
        GridLines="None" PageSize="20" Width="100%" 
        onpageindexchanging="GridView1_PageIndexChanging" EmptyDataText="没有相关数据">
        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
        <Columns>
            <asp:BoundField DataField="PCBAgingID" HeaderText="批次编号" />
            <asp:BoundField DataField="InputTime" HeaderText="录入时间" />
            <asp:BoundField DataField="UserID" HeaderText="录入员工号" />
            <asp:BoundField DataField="PCBTypeID" HeaderText="PCB类型" />
            <asp:BoundField DataField="Amount" HeaderText="数量" />
            <asp:TemplateField HeaderText="是否进箱">
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" 
                        Checked='<%# !string.IsNullOrEmpty(Eval("InBoxUser").ToString()) %>' runat="server" 
                        Enabled="False" />
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" />
            </asp:TemplateField>
            <asp:HyperLinkField DataNavigateUrlFields="PCBAgingID"                 
                DataNavigateUrlFormatString="~/ProductPCBAging/ManagePCBAging/PCBAgingInBox.aspx?PCBAgingID={0}" 
                HeaderText="进箱确认" Text="进入">
                <ItemStyle HorizontalAlign="Center" />
            </asp:HyperLinkField>
            <asp:TemplateField HeaderText="是否出箱">
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" Checked='<%# !string.IsNullOrEmpty(Eval("OutBoxUser").ToString()) %>' runat="server" Enabled="false" />
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" />
            </asp:TemplateField>
            <asp:HyperLinkField DataNavigateUrlFields="PCBAgingID"                 
                DataNavigateUrlFormatString="~/ProductPCBAging/ManagePCBAging/PCBAgingOutBox.aspx?PCBAgingID={0}" 
                HeaderText="出箱确认" Text="进入" >
                <ItemStyle HorizontalAlign="Center" />
            </asp:HyperLinkField>
        </Columns>
        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
    </asp:GridView>
    <br />
<br />
<br />
</div>
</asp:Content>

